package com.hbut.service.impl;

import com.hbut.mapper.UserMapper;
import com.hbut.pojo.User;
import com.hbut.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public List<User> queryUserList(){
        return userMapper.queryUserList();
    }

}
